package com.hbnu.service;

import com.hbnu.tourist.domain.Tourist;
import com.ruoyi.common.core.domain.AjaxResult;

public interface LoginService {
    AjaxResult login(Tourist tourist);

    AjaxResult register(Tourist tourist,String code);

    AjaxResult updatePassword(Tourist tourist,String code);

    AjaxResult getCode(String email, String text);

    AjaxResult findPassword(String email, String text);
}
